{% extends 'base.html' %}
{% block content %}
  <div id="slider">
	  <ul>
	    <li style='display:block'>
			  <h2>50% au bars</h2>
			    <ul data-role="listview" data-theme="b">
			  {% for greeting in greetings %}
			      <li>
			      {% if greeting.author %}
			        <b>{{ greeting.author.username }}</b> wrote:
			      {% else %}
			        An anonymous person wrote:
			      {% endif %}
			      {{ greeting.content|escape }}
			      </li>
			  {% endfor %}
			  </ul><br/>
			
			  <form action="/socialbar/sign" method="post">{% csrf_token %}
			    <table>{{ form }}</table>
			    <input type="submit" value="Sign socialbar" />
			  </form>
			</li>
			<li style='display:none'>
        rer
			</li>
	    <li style='display:none'>
        ee
	    </li>
	    <li style='display:none'>
	      pp
	    </li>
	  </ul>
	</div>
{% endblock %}
